#!/usr/bin/env python
# @FileName :first homewor.py
# @Time :2024/1/14 11:43
# @Author :wanghao

str1="建设银行123"
count=0
for i in str1:
    if i=='a':
        count+=1
print(count)